﻿using System;
using Kwan.Data.Mappings;
namespace BG.Data
{
    [Table("BG_Order")]
    public interface ITOrder
    {
        [ID]
        [IDENTITY]
        int EntityID { get; set; }


		[Column]
		string CardNO { get; set; }
		[Column]
		DateTime CheckInDate { get; set; }//入住时间
		[Column]
		double CheckInPrice { get; set; }//订单生成时的房价
		[Column]
		double CheckInRoomPrice { get; set; }
		[Column]
		int CheckInType { get; set; }//钟点房，全天房，半天房
        [Column]
        DateTime CreatedDate { get; set; }
		[Column]
		int CustomerID { get; set; }
		[Column]
		int Days { get; set; }
		[Column]
		double Deposit { get; set; }//押金
		[Column]
		int DisCount { get; set; }//0-100
		[Column]
		double FinalRoomPrice { get; set; }//结账时的房价
		[Column]
		string Memo { get; set; }
		[Column]
		int Pid { get; set; }//关联的父订单
		[Column]
		int RoomID { get; set; }
		[Column]
		int Status { get; set; }
        [Column]
        string UserID { get; set; }
    }
}